//引入 react
import React from 'react';
//引入 react-dom
import ReactDOM from 'react-dom';

//创建虚拟 DOM 对象
// let vDOM = <h2>Hello React 脚手架</h2>

//创建类式组件
class App extends React.Component{
    render(){
        return <h1>此情无计可消除，才下眉头，却上心头</h1>;
    }
}

//渲染
ReactDOM.render(<App />, document.querySelector("#root"));